package com.scrapy.http.pojo;

import java.io.Serializable;

/**
 * 糗事百科的主人内容
 * @author wanter
 *
 */
public class Author implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2465445079556845014L;
	/**
	 * 年龄
	 */
	private int age;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 昵称
	 */
	private String idName;
	/**
	 * 性别
	 */
	private String sexuality;

	/**
	 * 作者头像的图片地址
	 */
	private String headImg;

	public Author() {
	}

	public Author(int age, String name, String idName, String sexuality, String headImg) {
		this.age = age;
		this.name = name;
		this.idName = idName;
		this.sexuality = sexuality;
		this.headImg = headImg;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdName() {
		return idName;
	}

	public void setIdName(String idName) {
		this.idName = idName;
	}

	public String getSexuality() {
		return sexuality;
	}

	public void setSexuality(String sexuality) {
		this.sexuality = sexuality;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	@Override
	public String toString() {
		return "Author{" +
				"age=" + age +
				", name='" + name + '\'' +
				", idName='" + idName + '\'' +
				", sexuality='" + sexuality + '\'' +
				", headImg='" + headImg + '\'' +
				'}';
	}
}
